package com.sxpi.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "coupons_item")
@Slf4j
public class CouponsItem {
    @TableId
    private Long id;
    private Long couponsId;// 优惠券ID
    private Long userId;
    private LocalDateTime startTime;
    private LocalDateTime endTime;

    @TableField
    private Integer isDeleted;
} 